//Card Class
#ifndef CARD_H
#define CARD_H
#include <iostream>

using namespace std;

//class InvalidValueException{};
//class InvalidSuitException{};

enum Suit {HEART, DIAMOND, CLUB, SPADE};

class Card{
protected:
	Suit suit;
	int value;
public:
	Card();//works
	Card(int val, int suitNum);//works
	int getVal(){return value;};//works
	Suit getSuit(){return suit;};//works
	void setVal(int);//works
	void setSuit(Suit);//works
	void setSuit(int);//works
	bool operator== (Card rhs);//works?????
	bool operator< (Card rhs);//works
	friend ostream& operator<<(ostream& out, Card card);//should work
	
};
#endif /*CARD_H*/
